Session pooling for legacy application tasks

ABSTRACT

Methods, systems, and techniques for handling session emulation for running legacy applications/tasks in host environments using session pools are provided. These enhanced session emulation techniques may be used for many applications, including modernizing legacy applications, particularly in mid-range or mainframe host computing. Example embodiments provide a Role-Based Modernization System (“RBMS”), which uses the enhanced emulation techniques to provide role-based modernization of menu-based legacy applications.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. application Ser. No.13/922,106, filed Jun. 19, 2013, entitled “SESSION POOLING FOR LEGACYAPPLICATION TASKS,” which is a continuation of U.S. application Ser. No.12/914,834, filed Oct. 28, 2010, entitled “SESSION POOLING FOR LEGACYAPPLICATION TASKS,” which claims the benefit of U.S. ProvisionalApplication No. 61/280,034, filed Oct. 28, 2009, entitled “ROLE-BASEDMODERNIZATION OF LEGACY APPLICATIONS”; U.S. Provisional Application No.61/280,044, filed Oct. 28, 2009, entitled “SESSION POOLING FOR LEGACYAPPLICATION TASKS”; U.S. Provisional Application No. 61/280,040, filedOct. 28, 2009, entitled “MODERNIZATION OF LEGACY APPLICATIONS USINGDYNAMIC ICONS”; U.S. Provisional Application No. 61/280,060, filed Oct.28, 2009, entitled “DYNAMIC EXTENSIONS TO LEGACY APPLICATION TASKS”;U.S. Provisional Application No. 61/280,042, filed Oct. 28, 2009,entitled “HOTKEY ACCESS TO LEGACY APPLICATION TASKS”; U.S. ProvisionalApplication No. 61/280,041, filed Oct. 28, 2009, entitled “TIEREDCONFIGURATION OF LEGACY APPLICATION TASKS”; and U.S. ProvisionalApplication No. 61/280,043, filed Oct. 28, 2009, entitled “MANAGEMENT OFMULTIPLE INSTANCES OF LEGACY APPLICATION TASKS,” all of which areincorporated herein by reference in their entireties.

TECHNICAL FIELD

The present disclosure relates to methods, systems, and techniques formanaging legacy application session emulation and, in particular, tomethods systems, and techniques providing emulation to legacyapplications and tasks through pooled sessions.

BACKGROUND

Traditional computing environments were often populated by mainframecomputers such as the IBM 3270, and, eventually, mid-range computers,such as the IBM AS400. Over the years, many companies made hugeinvestments into these platforms, which were notoriously good atproviding very large, complex applications, such as accounting, generalledger, and inventory systems for running businesses of all sizes, andvertical applications which were developed to run in optimized form inthese host computing environments. Initially, users of such programsused wired terminals to directly communicate via “sessions” with thesehost environments. A user could create a secure session to communicatewith an application running on the host computing system by presentingcredentials (e.g., username and log-on information) to the host via theterminal for authentication and authorization. The application would runon the “host” computing system, receive input from the user terminal viaa session, and forward output back to the terminal via a session fordisplay. All communication between the terminal and the host computingsystem was done through sessions. Because the screens of such terminalswere traditionally black with green writing, the output from hostapplications (also referred to as “legacy” applications) wereaffectionately known as “green screens.” FIGS. 1A and 1B are examplescreen displays of “green screen” legacy application output as presentedby such prior systems. There was no direct manipulation or pixeladdressing present, the data stream was a typically 80-character streampresented line-by-line on the display screen.

Legacy applications can be typically characterized by their voluminousnumber of menus, their hierarchical access nature, and theirsession-driven state. For example, in a legacy application it is quitetypical for an end user to select upwards of 10 or more menus, eachcorresponding to a separately executable task, to get to a point in thesystem where the user can enter some data, for example in an accountingform, only to need to back all the way out and enter another set of 10or menus to obtain some related data, for example, a part number of aninventoried item in an inventory system, and then need to reenter all ofthe first set of 10 or more menus to get back to where the user wasoriginally entering the accounting data. In a single session, this canhappen hundreds if not thousands of times. Moreover, to do multiplethings at once, for example, to handle the same data entry for multiplecustomers at a time, each requires a separate session. Thus, it is easyfor a user to lose context and become frustrated.

As desktop and personal computing became more mainstream, terminalemulators, designed to run, for example, in windowed environments on apersonal computer (PC) and using the Internet, replaced the hard wiredterminals. These PCs terminal emulators, emulating the terminals, thuscontinue to communicate via sessions with the legacy applicationsrunning on these host systems. The end user runs each application in asession managed by the terminal emulator, and legacy output is returnedto the emulator. The emulator typically presents the green screenequivalent within the confines of the emulator display, often a window.FIGS. 2A and 2B are example screen displays of the same “green screen”legacy application output presented by a terminal emulator.

Over time, as graphical user interfaces (GUIs) became an expectation,and not just a nicety, increased modernization of the “green screen” wasmade available. In particular, the interfaces presented by the terminalemulators were made smarter so that some amount of enhanced graphics andvisuals could be delivered to interface to these legacy applications.For example, commands could be accessed by checkboxes instead of numericinput, menus could be directly selected, etc. FIGS. 3A and 3B areexample screen displays of recent modernization of “green screen” legacyapplication output as performed in current systems. Even though the userinterface is potentially more user-friendly, the underlying hostapplications still require access through the multitude of menus and viasessions. The protocol remains of sign on, create a session, run one ormore jobs, sign off, as many times as needed to accomplish the user'sobjective.

As a result, although computing resources have become cheaper, and manymid-range computing systems like the AS400 have replaced the oldmainframe hardware in many companies, the legacy applications continueto have their strong place in everyday use, especially in larger orgeographically distributed companies, such as companies with many branchoffices. This phenomenon is due in a large part to the investment thathas been made over the years to greatly expand the capabilities of suchapplications and to tailor the applications for a particular company'suse. Customizations may take hundreds of thousands of person-hours andsuch applications are typically rewritten, regenerated, andredistributed each time a new function or customization is needed. Thus,in instances in which companies have invested large amounts of money andresources, it may make more business sense to continue to run the legacyapplication rather than convert to another, more modern, tool. Oftentimes it is both cost and time prohibitive to do so.

BRIEF DESCRIPTION OF THE DRAWINGS

The patent or application file contains at least one drawing executed incolor. Copies of this patent or patent application publication withcolor drawings will be provided by the Office upon request and paymentof any necessary fee.

FIGS. 1A and 1B are example screen displays of “green screen” legacyapplication output as used in prior systems.

FIGS. 2A and 2B are example screen displays of the same “green screen”legacy application output presented by a terminal emulator.

FIGS. 3A and 3B are example screen displays of more recent modernizationof “green screen” legacy application output as performed in priorsystems.

FIG. 4 is an example screen display of role-based modernization of alegacy application.

FIG. 5 is an example screen display of a legacy task modernizedaccording to techniques described herein.

FIG. 6 is an example block diagram of an example process forreorganizing a legacy application by role for use with a Role BasedModernization System such as the RolePlay.

FIG. 7 is an example block diagram of an example data structure forstoring role-based task associations for implementing role-basedmodernization of legacy applications.

FIG. 8 is an example block diagram of components of an exampleRole-Based Modernization System.

FIG. 9 is an example block diagram of an overview of an example processfor running legacy applications that have been modernized according torole-based modernization techniques.

FIG. 10 is an example block diagram of a computing system for practicingembodiments of a client computing system of a Role-Based ModernizationSystem.

FIGS. 11A-11C are example flow diagrams of example logic used by adesktop management and control module of an example Role-BasedModernization System.

FIG. 12 is an example flow diagram of example logic use by a client-sidehost interface of a Role-Based Modernization System to communicate withone or more emulators on a host computing system.

FIG. 13 is an example flow diagram of logic for further processing ofcontext information received from an example legacy application task.

FIG. 14 is an example block diagram of a computing system for practicingembodiments of a server computing system of a Role-Based ModernizationSystem.

FIG. 15 is an example block diagram of server-side components of anexample Role-Based Modernization System using session poolingtechniques.

FIG. 16 is an example block diagram of an alternative layout ofserver-side components of an example Role-Based Modernization Systemusing session

FIGS. 17A-17B are example flow diagrams of logic of an example EmulationServices Manager of a Role-Based Modernization System according tosession pooling techniques.

DETAILED DESCRIPTION

Embodiments described herein provide enhanced computer- andnetwork-based methods, systems, and techniques for handling sessionemulation for running legacy applications/tasks in host environmentsusing pooled sessions. These enhanced session emulation techniques maybe used for many applications, including modernizing legacyapplications, particularly in mid-range or mainframe host computingenvironments. For the purpose of this description, legacyapplications/tasks will refer to applications/tasks that run on hostcomputing systems through sessions, regardless of their longevity.Example embodiments provide a Role-Based Modernization System (“RBMS”),which enables the reorganization of menu-based applications by role as amethod of legacy application modernization and enables user access tosuch modernized applications through one or more roles. In addition, andas a result of these modernization techniques, the RBMS supports theability to enhance such legacy applications by blending them withnon-legacy tasks and functions in a user-transparent fashion. Accordingto such modernization techniques, legacy and non-legacy tasks arepresented to users in a uniform fashion, regardless of their disparatesources, such that they can be manipulated using the same familiar GUImechanisms. The end user invokes the application tasks without beingexposed to sessions or the voluminous and detailed menu structure, andcontext is maintained between the tasks as the end user navigatesbetween them, just as if the legacy tasks were applications running inwindows in a windowing system. In addition, legacy tasks that have beenactivated (e.g., caused to run on the host) remain so, such that theuser can logout of the system, only to return later, login, and have theactive tasks still active providing they are tasks that don't terminatefor some other reason.

FIG. 4 is an example screen display of an example role-basedmodernization of a legacy application. In FIG. 4, display area 400displays a modernized application in an example RBMS environment called“RolePlay.” An indication of the current role is shown as indicator 401.The current role can be changed by selecting user interface control 402.A task workspace area 405 displays whichever task has been selected bythe user to work on. Here, task workspace area 405 currently displaysthe home “desktop” area for the current role “client” 406. Tabs 410-412indicate tasks that the user has already started (from thedesktop)—active tasks. These tasks may include both legacy applicationtasks, such as “New Order” and “Order Tracking” and non-legacyapplication tasks such as a webpage for “HotSteel, Inc”. The user canswitch between each of these tasks at will by a variety of inputmechanisms, including, for example, direct selection using a mouse orother similar input device or a hotkey, function key, favorites icon,etc. The possible tasks that have been configured for the user to use inthe “client” role 406 are shown in task list 407. Tasks, such as “A/RBatch Detail” can be invoked by selecting indicator (e.g., hyperlink)422, which will result in another tab dynamically displayed along withtabs 410-412. A user with configuration privileges, such as anadministrator or other user with abilities to configure roles (e.g., aroles administrator), can configure the tasks that are available foruser selection in the client role. In the example shown, icons such asicon 421 are dynamically added to the task list 407 by the RBMS. Inaddition, the “client” role 406 has been extended to display a data feed430, which appears on the home desktop of the “client” role each time auser navigates to that home desktop. The favorites dock 450 provides alocation for the user to add indicators for quick access to tasks. Inthe example shown, indicators 451-453 enable quick access to OrderTracking, Delivery Tracking (not shown), and New Order, respectively.Hotkey list 440 provides a list of hotkeys that the user has defined forquick access to a (legacy or non-legacy) task.

For example, when the user selects the Order Tracking favorites icon451, the Order Tracking task (referred to by tab 412) is brought to theforeground. FIG. 5 is an example screen display of a selected legacytask modernized according to techniques described herein. In particular,FIG. 5 is an example screen display of the Order Tracking task shownafter a particular order has been selected. Tab 500 shows that thecurrent selected task for the Client role is “Order Tracking.” The“Main” button 510 indicates that this is the main display of the runningOrder Tracking task. User interface controls 511-514 are task extensionsthat have been configured, for example by the end user, to imbue thelegacy task with added behavior without any programming necessary. In anexample embodiment, the user can configure task extensions for roles forwhich the user has authorization to the extent a user with administratorprivileges (an administrator) has defined. Each task extension isassociated with a rule for when the extension is presented. In somecases, upon the host generating certain types of content, taskextensions may be automatically presented. In general, the RMBSautomatically and dynamically causes an extension to be presented whenthe eligibility criteria expressed by the associated rule has been met.Task workspace area 520 displays the output of the currently executingtask (here, information on a selected order). The output is filtered sothat other GUI modernizations can be added, such as a link 521 to atelecommunications application (e.g., Skype) when a phone number isdetected in the task output, or a link to a mapping program when anaddress is detected in the task output. A user interface control such aspull-down menu 530 is presented to configure the task. In particular, auser can configure such things as removing an indicator to the task fromthe favorites dock, making the task always run and appear, defining ahotkey to access the task in one user input action, and customizing byadding, deleting, or modifying available task extensions.

Other and/or different aspects, although not shown, may be similarlyintegrated or presented to role-modernized tasks and applications.

Legacy applications typically comprise a series of individuallyexecutable tasks grouped into like-kind modules. Each such task istypically accessible via a single menu item on a menu, which may be partof a very large hierarchy of menus. In a typical enterprise legacyapplication, the modules typically comprise tens of thousands of taskswhich are likewise accessed via tens of thousands of menu items.

The RBMS reorganizes such menu structured legacy applications into rolesas a means for providing modernization that allows instant access totasks, thereby avoiding the menu driven (procedural) user interfacealtogether. Role-based modernization insures that tasks associated witha role are accessible to users that are using the application in thatrole, i.e., have proper authorization to conduct the associated tasks.In addition, role modernization supports the ability to extend legacyapplications and tasks with non-legacy functionality in a seamlessfashion, regardless of the source of the function. For example, in someembodiments the legacy tasks for a single “application” may be executingon remote computing systems from each other. The location of each taskcan be made purposefully transparent to the user.

FIG. 6 is an example block diagram of an example process forreorganizing a legacy application by role for use with a Role BasedModernization System such as the RolePlay. In one example embodiment, inblock 601, the tasks in the application(s) that are part of the legacyapplication or application suite are determined as part of a“reorganization” phase of the role-based modernization configurationprocess. This determination may be an automated process whereby acomputing system is used to “harvest” the possible tasks from a menudriven application definition or may be a manual or semi-automatedprocess. In an example embodiment, it is assumed that each menu item onany menu no matter how deep, is a potential task. A list of these tasksis created as a result of performing block 601. Other organizations oftasks can similarly be incorporated, such as applications where tasksare associated at some menu levels but not others.

In block 602, each task is associated with one or more roles, as definedby the modernizer of the system. This block again may be performedmanually, automatically by a computing system, or semi-automatically.For example, a “wizard” application may be provided in thisreorganization configuration phase to assist the user in providing rolenames and associating one or more roles with each task. In someembodiments, a limitation is placed on the number of tasks per rolebefore the role is to be subdivided into a plurality of smaller roleswith lesser numbers of tasks per role. Again, in some RBMS systems thisis done manually.

In block 603, the task and role associations are stored in some kind ofconfiguration repository data structure. Information for invoking thetask on the host computing system is also stored. For example, aninvocation string associated with a menu item that corresponds to a taskmay be stored as this invocation information string.

In block 604, users are defined and associated with one or more rolesare part of the configuration process. Then, the RBMS (here, RolePlay)is run.

FIG. 7 is an example block diagram of an example data structure forstoring role-based task associations for implementing role-basedmodernization of legacy applications. In data structure 700, a list oftasks 701 is provided during the reorganization phase. One or more ofpossible roles 710 is indicated as associated with each task. Inaddition, an execution specification such as an invocation string isindicated as associated with each task, so that when the task isinitially run the RBMS knows what to pass to the host computing systemto cause the task to be executed. For example, task N 704 is indicatedas associated with execution spec N by specification 705 and with Role Dby role indicator 706.

Once application tasks are reorganized by role, the RBMS can execute amultitude of tasks concurrently and allow further configurations such ashotkey access or additional non-legacy task extensions as shown in FIGS.4 and 5. Moreover, the user interface between legacy and non-legacytasks is seamless—the RBMS provides a uniform mechanism for invoking atask and displaying the results. In addition, example embodiments of theRBMS present only a single log-on for the user. Authentication andcredential management is thereafter handled automatically between theclient-side and server-side of the RBMS and with the host applications.

As illustrated in FIGS. 4-7, one such RBMS for running role-modernizedlegacy applications is the RolePlay Environment. However, the techniquesof an RBMS also may be useful to create a variety of other applicationmodernizations and systems, including environments that presentdifferent user interfaces or for different purposes.

In one embodiment, the Role-Based Modernization System comprises one ormore functional components/modules that work together to providerole-based modernization of legacy applications. These components may beimplemented in software or hardware or a combination of both. FIG. 8 isan example block diagram of components of an example Role-BasedModernization System. Client computing system 810 communicates with Hostcomputing system 830 to run one or more legacy applications. The RolePlay RBMS comprises a client portion, the RolePlay Client ComputingSystem 811, which may be for example run as part of a Web browserapplication, and a server portion, the Role Play Computing System 831.In the example illustrated, the client portion 811 comprises a displayand control module 812, one or more RolePlay data repositories 817, ahost interface 818 for communicated with the legacy tasks, and othernon-RolePlay functions and data 819. The display and control module 812further comprises an RP Desktop Management and Control module 813 forhandling the presentation events and support; a configuration and rolesupport module 815 for providing, managing and storing configuration ofapplications, roles, and users; an extension interface 814 for providingand managing task extensions and role extensions; and a task controlmodule 816 for managing task-related state and other data. The serverportion 831 comprises a Web Application server (e.g., a Service-OrientedArchitecture—SOA-server that responds to messages), one or more RolePlaydata repositories 833, and an Emulation Services Manager (ESM) 834. TheESM talks to the host operating system API using appropriate emulationprotocols (e.g., IBM 5250/3270) to interface to the legacy applicationtasks.

It is important to note that these host applications have not beenreprogrammed to run with the RBMS—access to them has been reorganizedaccording to role during a configuration process such as the onedescribed with reference to FIGS. 6 and 7. A terminal emulator, hereEmulation Services Manager (ESM) 834, still is used to invoke each taskthrough a standard host interface (e.g., using the appropriate protocolsuch as IBM 5250/3270) as if a menu item were selected by an end user. Adifference is that from the end user's point of view a completelymodernized and seamless access to each task, legacy or not, is provided.In the embodiment shown, the emulator ESM runs on the host machineitself so as to transparently provide any required session access to theapplication tasks. Other embodiments may provide an emulator in otherlocations such as on the client computing system 810 or on anothersystem.

The implementation shown in the embodiment illustrated in FIG. 8, showsclient portion 811 divided into a javascript portion, display andcontrol module 812, and a java applet portion, host interface 818. Thejava applet 818 is used to communicate directly and efficiently over asecure communications connection (e.g. using SSL or TLS) to the ESM 834.The javascript portion 812 is used to interface to the Web Application(SOA) Server 832 over a separate secure connection using, for example,HTTPS. This division of labor is done to allocate functionality to themost appropriate tool and to allow the legacy task to outputconcurrently without interference from other functions being presentedon the RolePlay display. In a typical embodiment, the java applet 818 isloaded as a consequence of an initial startup sequence on the clientside (e.g., the user navigates to a website—url—for example,“www.roleplay.com”) and is instantiated inside of a Web Browser. Also,to the extent possible, one or more configuration files are downloadedupon the client-side startup procedure, which define the roles, tasks,initial extensions, user associations if any, etc.

The display and control module 812 in conjunction with the hostinterface 818 use secure communications channel 825 to communicate withESM 834 to invoke legacy applications modernized using role-basedmodernization techniques and to display them for user input/output on adisplay screen associated with the client computing system 810. FIG. 9is an example block diagram of an overview of an example process forrunning legacy applications that have been modernized according torole-based modernization techniques. In block 901, the client-sidedisplay and control module (DCM) 812 determines a designated task, forexample, as a result of a user selecting an indicator link to the task(e.g., link 421 in FIG. 4), a hot-key, a link on the favorites dock(e.g., link 451 in FIG. 4), etc. Next, the DCM 812 determines thedesignated task is a legacy task (requiring communication with the hostcomputing system 830), and if so continues to execute at block 902,otherwise continues with other processing to process the non-legacy tasksuch as a web-based application, extension, or other code/logic module.In block 902, the DCM 812 invokes the client-side host interface (Javaapplet) 818 to forward input to the host task and/or to receive anupdated “screen” from the host task. In block 903, the client-side hostinterface 818 forwards any input received to the host ESM 834 via thesecure binary connection (e.g., secure socket layer) 825.

In block 904, the ESM routine, which is listening on connection 825,receives the request from the client-side host interface, authorizes theuser, and determines which task as been designated. Assuming thedesignated task corresponds to an already running task, in oneembodiment, the ESM finds the appropriate session corresponding to thetask and forwards the received input. In such an embodiment the ESM orother accessible module is responsible for tracking what tasks arerunning, in which sessions etc. Alternatively, if the designated taskcorresponds to a new task to be run, the ESM initiates a new session,invokes the task, and stores task identifying information. Of note, theESM separately authenticates the credentials of the user to authorizethe task invocation so as to prevent spoofing of the user. The ESM canperform this function using the original credentials supplied by theuser in an initial log-on procedure. In some embodiments as describedwith respect to FIGS. 15 and 16, sessions may be pooled, in some casesby user, and the ESM may allocate one of the pooled sessions to run thenewly requested task. The task associated information is stored in theRolePlay data repository 833.

Eventually, in block 905 the client-side host interface 818, which islistening on connection 825, receives an updated screen (i.e., streameddata) from the ESM via connection 825, filters it according to a set ofrules implemented by a rules engine, writes context information such aswhat names, phone numbers and addresses are found, modernizes the screenaccording to a set of modernization rules and eligibility criteria, anddisplays it on its associated canvas. Examples of the modernizationrules applied by the client-side host interface 818 include instructionsin the event of detecting certain text such as phone numbers and canresult in the “Skype” link 521 presented in FIG. 5 when the interface818 detects a phone number. This allows for further dynamicmodernizations to role-based modernized legacy tasks. The client-sidehost interface 818 is also detecting the present of certain data in thedata stream to decide whether eligibility criteria are met. For example,when defining a task extension, one can define when it is displayed.This timing gets translated to a “rule” which is used by a rules engineportion of the host interface 818 to detect whether it is appropriate toplace a button to be used to invoke the task extension in the display ofthe data stream on its canvas. A call-back function is registered withthe button, so that later selection of the button will cause a call-backinto the code of the client side display and control module (e.g., theextension interface 814 of the javascript module 812) to cause theassociated extension code to be executed.

The associated canvas is the current task workspace area displayed, sothe received updated host screen is then displayed to the user. Thecontext information is written to a context list, for example stored inRolePlay data repository 817, so that the display and control modulecomponents can access the information and act upon it if they so desireor forward it to consumer code, such as task extensions.

The role-based modernization techniques of RolePlay and the RBMS aregenerally applicable to any type of legacy application task. Forexample, the phrase “task” is used generally to imply any type of codemodule that is separately executable by a host computing system. Also,although certain terms are used primarily herein, other terms could beused interchangeably to yield equivalent embodiments and examples. Inaddition, terms may have alternate spellings which may or may not beexplicitly mentioned, and all such variations of terms are intended tobe included.

Example embodiments described herein provide applications, tools, datastructures and other support to implement a Role-Based ModernizationSystem to be used for accessing applications that have been modernizedby reorganizing them by role. Other embodiments of the describedtechniques may be used for other purposes. In the following description,numerous specific details are set forth, such as data formats and codesequences, etc., in order to provide a thorough understanding of thedescribed techniques. The embodiments described also can be practicedwithout some of the specific details described herein, or with otherspecific details, such as changes with respect to the ordering of thecode flow, different code flows, etc. Thus, the scope of the techniquesand/or functions described are not limited by the particular order,selection, or decomposition of steps described with reference to anyparticular routine.

FIG. 10 is an example block diagram of a computing system for practicingembodiments of a client computing system of a Role-Based ModernizationSystem. Note that a general purpose or a special purpose computingsystem suitably instructed may be used to implement an RBMS. Further,the RBMS may be implemented in software, hardware, firmware, or in somecombination to achieve the capabilities described herein.

The computing system 1000 may comprise one or more server and/or clientcomputing systems and may span distributed locations. In addition, eachblock shown may represent one or more such blocks as appropriate to aspecific embodiment or may be combined with other blocks. Moreover, thevarious blocks of the Role-Based Modernization System 1010 mayphysically reside on one or more machines, which use standard (e.g.,TCP/IP) or proprietary interprocess communication mechanisms tocommunicate with each other.

In the embodiment shown, computer system 1000 comprises a computermemory (“memory”) 1001, a display 1002, one or more Central ProcessingUnits (“CPU”) 1003, Input/Output devices 1004 (e.g., keyboard, mouse,CRT or LCD display, etc.), other computer-readable media 1005, and oneor more network connections 1006. The RBMS installed as part of WebBrowser or other client application 1010 is shown residing in memory1001. In other embodiments, some portion of the contents, some of, orall of the components of the RBMS 1010 may be stored on and/ortransmitted over the other computer-readable media 1005. The componentsof the Role-Based Modernization System 1010 preferably execute on one ormore CPUs 1003 and manage the reorganization and modernizations oflegacy tasks as described herein. Other code or programs 1030 andpotentially other data repositories, such as data repository 1020, alsoreside in the memory 1001, and preferably execute on one or more CPUs1003. Of note, one or more of the components in FIG. 10 may not bepresent in any specific implementation.

In a typical embodiment, the RBMS installed in Web Browser or otherclient application 1010 includes one or more Javascript plug-ins 1011, aJava applet host interface 1012, and role, task, and configuration datadata repository 1013. In at least some embodiments, the data repository1013 is provided external to the RBMS and is available, potentially,over one or more networks 1050. Other and/or different modules may beimplemented. In addition, the RBMS may interact via a network 1050 withapplication or other extension code 1055 that uses data received fromlegacy applications and stored in the data repository 1013, one or morehost computing systems 1060, and/or one or more server computing systems1065. Also, the role, task, and configuration data data repository 1013may be provided external to the RBMS as well, for example in a knowledgebase accessible over one or more networks 1050.

In an example embodiment, components/modules of the RBMS 1010 areimplemented using standard programming techniques. However, a range ofprogramming languages known in the art may be employed for implementingsuch example embodiments, including representative implementations ofvarious programming language paradigms, including but not limited to,object-oriented (e.g., Java, C++, C#, Smalltalk, etc.), functional(e.g., ML, Lisp, Scheme, etc.), procedural (e.g., C, Pascal, Ada,Modula, etc.), scripting (e.g., Perl, Ruby, Python, JavaScript,VBScript, etc.), declarative (e.g., SQL, Prolog, etc.), etc.

The embodiments described above may also use well-known or proprietarysynchronous or asynchronous client-server computing techniques. However,the various components may be implemented using more monolithicprogramming techniques as well, for example, as an executable running ona single CPU computer system, or alternately decomposed using a varietyof structuring techniques known in the art, including but not limitedto, multiprogramming, multithreading, client-server, or peer-to-peer,running on one or more computer systems each having one or more CPUs.Some embodiments are illustrated as executing concurrently andasynchronously and communicating using message passing techniques.Equivalent synchronous embodiments are also supported by an RBMSimplementation.

In addition, programming interfaces to the data stored as part of theRBMS Web Browser or other client application process 1010 (e.g., in thedata repository 1013) can be made available by standard means such asthrough C, C++, C#, and Java APIs; libraries for accessing files,databases, or other data repositories; through scripting languages suchas XML; or through Web servers, FTP servers, or other types of serversproviding access to stored data. The repository 1013 may be implementedas one or more database systems, file systems, or any other method knownin the art for storing such information, or any combination of theabove, including implementation using distributed computing techniques.

Also the example RBMS Web Browser or other client application 1010 maybe implemented in a distributed environment comprising multiple, evenheterogeneous, computer systems and networks. Also, one or more of themodules may themselves be distributed, pooled or otherwise grouped, suchas for load balancing, reliability or security reasons. Differentconfigurations and locations of programs and data are contemplated foruse with techniques of described herein. A variety of distributedcomputing techniques are appropriate for implementing the components ofthe illustrated embodiments in a distributed manner including but notlimited to TCP/IP sockets, RPC, RMI, HTTP, Web Services (XML-RPC,JAX-RPC, SOAP, etc.) etc. Other variations are possible. Also, otherfunctionality could be provided by each component/module, or existingfunctionality could be distributed amongst the components/modules indifferent ways, yet still achieve the functions of an RBMS.

Furthermore, in some embodiments, some or all of the components of theRBMS may be implemented or provided in other manners, such as at leastpartially in firmware and/or hardware, including, but not limited to oneore more application-specific integrated circuits (ASICs), standardintegrated circuits, controllers (e.g., by executing appropriateinstructions, and including microcontrollers and/or embeddedcontrollers), field-programmable gate arrays (FPGAs), complexprogrammable logic devices (CPLDs), etc. Some or all of the systemcomponents and/or data structures may also be stored (e.g., asexecutable or other machine readable software instructions or structureddata) on a computer-readable medium (e.g., a hard disk; a memory; anetwork; or a portable media article to be read by an appropriate driveor via an appropriate connection). Some or all of the system componentsand data structures may also be stored as data signals (e.g., by beingencoded as part of a carrier wave or included as part of an analog ordigital propagated signal) on a variety of computer-readabletransmission mediums, which are then transmitted, including acrosswireless-based and wired/cable-based mediums, and may take a variety offorms (e.g., as part of a single or multiplexed analog signal, or asmultiple discrete digital packets or frames). Such computer programproducts may also take other forms in other embodiments. Accordingly,embodiments of this disclosure may be practiced with other computersystem configurations.

As described above, one of the functions of the client-side RBMS is toprovide a uniform interface for accessing tasks, be they legacy tasks ornon-legacy tasks. FIGS. 11A-11C are example flow diagrams of examplelogic used by a desktop management and control module of an exampleRole-Based Modernization System to provide uniform access. This eventhandler logic may, for example, be implemented by the RolePlay Displayand Control module 812 of FIG. 8. Blocks 1101-1123 provide an event loopfor processing different types of tasks and functions. A uniforminterface to the various tasks is effectuated by essentially shufflingthe task workspace areas between executing tasks, so that the currenttask's workspace area is “on top” in the display order. For example,task workspace area 405 in FIG. 4 is “replaced by” (by manipulating thez-order of) task workspace area 520 in FIG. 5 when the Order Trackingtask is selected by selecting the Order Tracking tab 412 in FIG. 4. In awindowing type system, the z-order refers to the z-axis—or depth intothe display screen. That is, a location in the z-order dictates whatscreen real-estate appears on top of what.

More specifically, in block 1101, the module determines what kind oftask has been designated; that is, whether an extension, legacy (host)task, or other application module has been designated. Such designationmay occur, for example, by means of a mouse or other input deviceselection, an ALT-TAB selection technique, a hotkey, a selection of anindicator on the favorites dock, etc. In block 1102, if the designatedtask is an extension, then the module continues its processing at block1103, otherwise continues at block 1305.

In block 1103, the module processes the designated extension by bringingthe task workspace area associated with the extension to overlay theprior task workspace area by moving the task workspace area associatedwith the extension to the top of the z-order. This workspace areaassociated with the extension thereby becomes the “current” taskworkspace area. The task workspace area of the extension may be aportion of the task workspace area of the underlying task, so that itappears part of that task. In block 1104, the module invokes theextension designated the current task workspace area for its output. Theextension may be a “role” extension—which is code that is authorized forall users of a particular role—or may be a task extension—which is codethat is associated with a particular task and a set of eligibilitycriteria that dictate its availability or not. The module then continuesin block 1106 to process, display, or forward any filtered or contextualinformation created by the output of the invoked extension.

In block 1105, when the module has determined that the designated taskis not an extension, the module further determines whether thedesignated task is a legacy task, thus requiring communication with anassociated host system. If so, the module continues at block 1110;otherwise, the module continues at block 1120.

In block 1110, the module determines whether the user credentialsindicate that the user is authorized to run the designated legacy task.If so, the module continues in block 1112, otherwise, the module rejectsthe request in block 1111, and returns to the beginning of the eventloop to wait for another input event. In some embodiments thisdetermination is a secondary determination of authorization as theclient RBMS has already performed a check. Such double-checking preventsagainst another system or user spoofing the RBMS by masquerading as theuser. In block 1112, the module shuffles the task workspace area toinsure that the canvas associated with the java applet host interface(e.g., java applet 818 in FIG. 8) is topmost in the z-order. This may beaccomplished in some windowing systems by moving the other taskworkspace areas to the bottom. Of note, other implementations thatutilize a different type of host interface may require other ordifferent actions to insure that the canvas (or task workspace area) ofthe host interface is topmost in the z-order. In block 1113, the moduleforwards an identifier of the designated task and appropriate inputparameters to the client-side host interface (e.g., java applet 818 inFIG. 8) to cause the designated task to be run on the host computingsystem and a resulting screen to be displayed on the client taskworkspace area (the canvas in this case). The module then continues inblock 1106 to receive the output from the invoked task and to process,display, or forward any filtered or contextual information created bythe output of the invoked task.

In block 1120, when the module has determined that the designated taskis not a legacy task, the module processes the designated non-legacytask and determines whether the user credentials indicate that the useris authorized to run the designated non-legacy task. If so, the modulecontinues in block 1122, otherwise, the module rejects the request inblock 1121, and returns to the beginning of the event loop to wait foranother input event. Again, in some embodiments this determination is asecondary determination of authorization as the client RBMS has alreadyperformed a check.

In block 1122, the module shuffles the task workspace area associatedwith the designated non-legacy task to insure that it is topmost in thez-order and becomes the current task workspace area. In block 1123, themodule invokes or otherwise processes the designated non-legacytask/application/code and designates the current task workspace area asthe active window/iframe etc., depending upon the implementation. Themodule then continues in block 1106 to receive the output from theinvoked task/application/code and to process, display, or forward anyfiltered or contextual information created by the output of the invokedtask/application/code.

The processing at block 1106 enables the module logic to processinformation that has been filtered, for example, by the host interfacereceiving a data stream from a legacy application. Such information maybe forwarded by the module logic, for example, to communicate parametersto various task extensions of the legacy task. As an example, considerthe order detail legacy task output of FIG. 5. The task workspace area520 includes several task extensions accessible through UI controls511-514. One of these task extensions is a mapping application invokedusing the directions tab 514. When the output shown in area 520 isfiltered by the display and control module (e.g., 812 in FIG. 8), theaddress of the customer is written to the context for that legacy task.When the user then selects the mapping extension via directions button514, the module forwards this address information from the context tothe mapping task extension. In other examples, although not shown, themodule itself performs some action as a result of context informationreceived.

FIG. 12 is an example flow diagram of example logic use by a client-sidehost interface module of a Role-Based Modernization System tocommunicate with one or more emulators on a host computing system to runlegacy tasks. For example, this logic may be implemented by the hostinterface 818 in FIG. 8 to communicate with the Emulation ServiceManager (ESM) 834 on a host computing system. In block 1201, the hostinterface module receives designated task input from the correspondingclient-side display and control module (e.g., module 813 in FIG. 8), forexample, as a result of executing block 1113 in FIG. 11B). In block1202, the module forwards the received input and any other parameters tothe appropriate host ESM via a secure connection, such as secure binaryconnection 825 in FIG. 8. As there may be more than one host computingsystem available to execute legacy tasks, the module may determine whichone to use. In block 1203, the module receives updated screeninformation (streamed data) from the ESM via the secure connection.Although shown as synchronous flow logic, it is understood thatequivalent asynchronous flow logic may be implemented. While the inputis received, the host interface module filters the data stream in block1204, for example, using a rules engine that implements modernizationrules and eligibility rules (the modernization rules can also be thoughtof as eligibility rules). The modernization rules identify objects inthe data stream that may be enhanced with GUI information, such as phonenumbers, addresses etc. This dynamically created information may beadded to the output to create an enhanced data stream. In addition, theeligibility rules may be used to determine when/if the module needs toadd certain other capabilities to the output. For example, in thepresence of certain things (like addresses), the user may have definedthat a mapping program extension is to be added to the task output. Itmay be then the host interface module's responsibility to add theindicators (e.g., the task buttons) for invoking these extensions, ifonly the host interface controls its canvas/task workspace area. Inblock 1205, the module displays the enhanced data stream on the currenttask workspace area, and returns.

Of note, the different logic blocks of FIG. 12, although shownseparately, may be invoked in a sort of pipeline as the data isreceived, rather than processing all of the data at each step.

FIG. 13 is an example flow diagram of logic for creating an enhanceddata stream from output received from an example legacy applicationtask. This logic corresponds to more detail executed as a result of thefiltering process of block 1204 in FIG. 12. It is one example of many ofthe functions that can be performed as a result of filtering the datareceived. In one embodiment, this logic is provided by a rules enginethat is created as a result of configuring the RBMS.

In block 1301, the logic determines whether names are found in the dataand, if so, proceeds to block 1302, otherwise continues in block 1303.In block 1302, the logic looks up in a storage repository or creates acorresponding icon and dynamically displays each corresponding icon in aposition close to the corresponding name in the enhanced output. Inblock 1303, the logic determines whether phone numbers are found in thedata and, if so, proceeds to block 1304, otherwise continues in block1305. In block 1304 the logic displays a UI control to a phoneapplication nearby each phone number in the enhanced output. In block1305, the logic determines whether addresses are found in the data, and,if so, proceeds to block 1306, otherwise continues to process otherobjects it is looking for in a similar manner until all of the legacytask output has been filtered and enhanced where indicated. In block1306, the logic displays a control to a mapping application nearby eachaddress in the enhanced output, and continues to process other objects.

FIG. 14 is an example block diagram of a computing system for practicingembodiments of a server computing system of a Role-Based ModernizationSystem. Note that a general purpose or a special purpose computingsystem suitably instructed may be used to implement an RBMS. Further,the RBMS may be implemented in software, hardware, firmware, or in somecombination to achieve the capabilities described herein.

The computing system 1400 may comprise one or more computing systems andmay span distributed locations. In addition, each block shown mayrepresent one or more such blocks as appropriate to a specificembodiment or may be combined with other blocks. Moreover, the variousblocks of the Role-Based Modernization System 1410 may physically resideon one or more machines, which use standard (e.g., TCP/IP) orproprietary interprocess communication mechanisms to communicate witheach other.

In the embodiment shown, computer system 1400 comprises a computermemory (“memory”) 1401, a display 1402, one or more Central ProcessingUnits (“CPU”) 1403, Input/Output devices 1404 (e.g., keyboard, mouse,CRT or LCD display, etc.), other computer-readable media 1405, and oneor more network connections 1406. The RBMS 1410 is shown residing inmemory 1401. In other embodiments, some portion of the contents, someof, or all of the components of the RBMS 1410 may be stored on and/ortransmitted over the other computer-readable media 1405. The componentsof the Role-Based Modernization System 1410 preferably execute on one ormore CPUs 1403 and manage the invocation and input/output to and fromlegacy tasks as described herein. Other code or programs 1430 andpotentially other data repositories, such as data repository 1420, alsoreside in the memory 1401, and preferably execute on one or more CPUs1403. In addition, a Virtual Terminal Interface 1415 to the hostoperating system, and one or more tasks, for example 1417 a and 1417 bmay be currently executing on the one or more CPUs 1403 and stored inthe memory 1401. Of note, one or more of the components in FIG. 14 maynot be present in any specific implementation. For example, in variousembodiments certain components, such as the display 1402 and/or certaininput/output devices 1404 (such as a keyboard or mouse) may not bepresent.

In at least one typical embodiment, the RBMS 1410 includes one or moreWeb Application Servers 1411, an Emulation Services Manager (ESM) 1412,pooled sessions Y14, and task and session data repository 1413. In atleast some embodiments, the data repository 1413 is provided external tothe RBMS and is available, potentially, over one or more networks 1450.Other and/or different modules may be implemented. In addition, the RBMSmay interact via a network 1450 with application or other client code1455, one or more other host computing systems 1465, for example,running remote legacy tasks, and/or one or more client computing systems1460 such as the client system demonstrated in FIG. 10. Also, the taskand session data repository 1413 may be provided external to the RBMS aswell, for example in a knowledge base accessible over one or morenetworks 1450.

As discussed with reference to the RBMS of FIG. 14, the RBMS 1410 maysimilarly be implemented in various ways and/or using various known orproprietary techniques. In particular, the RBMS 1410 may be implementedin hardware, software, and/or firmware. Software portions of the RBMS1410 may be implemented using one or more programming languages andassociated tools (e.g., compilers, interpreters, linkers, etc.) togenerate code portions (e.g., instruction sequences) that may beprocessed by hardware components (e.g., a CPU) and/or softwarecomponents (e.g., a virtual machine). In addition, the RBMS 1410 may bedecomposed, if at all, using various techniques, including client-serverarchitectures, N-tier architectures, Web Services (e.g., SOAP), classes,libraries, archives, etc.

FIG. 15 is an example block diagram of server-side components of anexample Role-Based Modernization System that includes session poolingtechniques. As described with respect to FIG. 8 and elsewhere in thepresent Figures, the client-side of the RBMS, here shown as client 1501,communicates over one or more networks 1520 with one or more hostcomputing systems, e.g., system 1510, to run role-modernized legacytasks. In example embodiments, the host computing system 1510 comprisesa Web Application 1511, which comprises Web Application Server 1512 andEmulation Services Manager (ESM) 1513. As explained elsewhere, the WebApplication Server 1512 may comprise an SOA server configured to respondto messages from the client 1501. The host computing system 1510 alsocomprises a set of host (legacy) applications 1516 and 1518, which inturn each comprise one or more tasks, for example, tasks 1517 a-1517 cand tasks 1519 a-1519 c.

In one embodiment of the RBMS (there are other server side ways tosupport role-modernization for RBMS clients), the server employs atechnique referred to as “session pooling” to multiplex between severalrunning tasks to enable the correct output to be returned to the RBMSclient in response to client requests to communicate with a particulartask. In brief, a pool of host sessions, for example pooled sessions1515 a-1515 c are created (potentially in advance or as needed) for eachuser and allocated as needed to tasks invoked by that user. Each sessionkeeps track of its own state, as sessions typically do. This state is“persistent,” even when the client is not actively working with thecorresponding legacy task, because the session that corresponds to therunning task is not terminated each time the user switches to workingwith another legacy task (maintained in a different session).Accordingly, the ESM, instead of the user, is responsible for keepingtrack of all of the running sessions and stores data as needed, forexample in data repository 833 of FIG. 8. As described further belowwith respect to FIGS. 17A-17B, when a client request for a legacy taskcomes in, typically in the form of a task identifier and various inputparameters, the Emulation Services Manager (ESM) 1514 finds thecorresponding task, and if it is already executing, switches toproviding output from the corresponding session from a session pool,otherwise allocates a new session and starts up the corresponding taskfrom an appropriate session pool. In this manner the ESM multiplexesbetween the various running legacy tasks and provides the correct outputscreens to the client RBMS 1501 without starting and stopping othersessions to do so. In typical of these embodiments the ESM 1513communicates with the operating system of the host computing system 1510using its virtual terminal services through an applications programminginterface (API). In the example illustrated, the ESM 1513 communicateswith the host environment using standard 5260/3270 protocol to manageits sessions and communicate with the legacy applications/tasks.

Of note, the pooling session techniques handling legacy task/applicationmanagement described herein may be used for purposes other than forresponding to a role-based modernization system.

FIG. 16 is an example block diagram of an alternative layout ofserver-side components of an example Roles Based Modernization Systemusing session pooling techniques. In this embodiment, the server-sideportion of the RBMS resides in a server computing system 1620 separatefrom the host computing system 1610 where the applications 1612 havinglegacy tasks 1613 a-1613 c reside. The server computing system 1620comprises the Web Application (e.g., SOA) server 1621 and the EmulationServices Manager 1622. Because the ESM 1622 is separated from the hostcomputing system 1610, it needs to communicate over the network 1630using Telnet or other protocol wrapping around the emulator protocol.

Of note, the architecture of FIG. 15 has an advantage that a singlebinary for the Web Application 1511 can be installed on the hostcomputing system that the user already has without a need to configureadditional machines. Also, in some situations it is possible that theclient-side RBMS invokes tasks that are executing or to be executed at avariety of locations, potentially even geographically remote. In such asituation, according to one embodiment, the ESM 1513 can be distributedand manage the ESMs on the other host computing environments in amaster-slave type of I/O relationship. This provides a degree oflocation transparency to the client computing system, since the clientneed only communicate with a single ESM.

FIGS. 17A-17B are example flow diagrams of logic of an example EmulationServices Manager of a Role-Based Modernization System according tosession pooling techniques. As mentioned with respect to FIG. 15, theEmulation Services Manager (ESM) may be co-resident with the hostapplications or on a remote computing system. In block 1701, the ESMauthorizes and authenticates user information forwarded by the clientRBMS for the requested task. This action protects against masqueradingand other types of malicious computing behaviors.

In block 1702, the ESM determines if the user is authorized, and, if notreturns a status to the client-side host interface that an unauthorizeduser was detected. If authorized, the ESM continues in block 1704 todetermine whether the requested legacy task is already running (in asession) and, if so, continues with block 1705; otherwise, continueswith block 1706. Since the ESM maintains and manages its pools ofsessions, it stores appropriate information to be able to make thisdetermination.

In the case where the legacy task is already running, then in block 1705the ESM determines (for example, by table look-up, database query, etc.)which session corresponds to the designated task, connects to thesession, and passes any designated parameters to the running session.The ESM then continues in block 1709.

In the case where the legacy task is not yet running, then in block 1706the ESM allocates and starts a new session from the session pool. Inblock 1707, the ESM associates the new session with the task identifier,and in block 1708 initiates the task that corresponds to the designatedtask identifier using any designated parameters. The ESM then continuesin block 1709.

In block 1709, the ESM obtains the current screen (after running anydesignated input) and forwards the current screen to the client-siderequester, which in the DBMS is the client-side host interface of theRBMS. The ESM then does any other activities, and waits for the nextrequest. Although the ESM logic is shown to execute synchronously, insome embodiments it uses asynchronous calling mechanisms to determinewhen a request is to be processed.

In some embodiments, as mentioned with respect to FIGS. 15 and 16, aclient application optionally may request execution of legacy tasks thatare on remote computing systems. In such a case, additional logicinstructions are added to divert to block 1711 after authorizing theuser in block 1702. In block 1711, the ESM determines whether therequested task is a non-local task and, if so, continues in block 1712,otherwise progresses to block 1704.

In block 1712, the ESM processes the non-local task request byforwarding the request to the remote ESM. The remote ESM then processesthe request using similar logic to FIG. 17A, typically without thenon-local task test branch (blocks 1711-1713). In block 1713, the ESMreceives a resultant output screen (data stream from the requested task)from the remote ESM and continues with block 1709 to forward the datastream to the requestor.

All of the above U.S. patents, U.S. patent application publications,U.S. patent applications, foreign patents, foreign patent applicationsand non-patent publications referred to in this specification and/orlisted in the Application Data Sheet, including but not limited to U.S.application Ser. No. 13/922,106, entitled “SESSION POOLING FOR LEGACYAPPLICATION TASKS,” filed Jun. 19, 2013; U.S. application Ser. No.12/914,834, entitled “SESSION POOLING FOR LEGACY APPLICATION TASKS,”filed Oct. 28, 2010; U.S. Provisional Patent Application No. 61/280,034,entitled “ROLE-BASED MODERNIZATION OF LEGACY APPLICATIONS,” filed Oct.28, 2009; U.S. Provisional Patent Application No. 61/280,044, entitled“SESSION POOLING FOR LEGACY APPLICATION TASKS,” filed Oct. 28, 2009;U.S. Provisional Patent Application No. 61/280,040, entitled“MODERNIZATION OF LEGACY APPLICATIONS USING DYNAMIC ICONS,” filed Oct.28, 2009; U.S. Provisional Patent Application No. 61/280,060, entitled“DYNAMIC EXTENSIONS TO LEGACY APPLICATION TASKS,” filed Oct. 28, 2009;U.S. Provisional Patent Application No. 61/280,042, entitled “HOTKEYACCESS TO LEGACY APPLICATION TASKS,” filed Oct. 28, 2009; U.S.Provisional Patent Application No. 61/280,041, entitled “TIEREDCONFIGURATION OF LEGACY APPLICATION TASKS,” filed Oct. 28, 2009; andU.S. Provisional Patent Application No. 61/280,043, entitled “MANAGEMENTOF MULTIPLE INSTANCES OF LEGACY APPLICATION TASKS,” filed Oct. 28, 2009;are incorporated herein by reference, in their entireties.

From the foregoing it will be appreciated that, although specificembodiments have been described herein for purposes of illustration,various modifications may be made without deviating from the spirit andscope of the present disclosure. For example, the methods and systemsfor performing role-based modernization discussed herein are applicableto other architectures other than a windowing architecture. Also, themethods and systems discussed herein are applicable to differingprotocols, communication media (optical, wireless, cable, etc.) anddevices (such as wireless handsets, electronic organizers, personaldigital assistants, portable email machines, game machines, pagers,navigation devices such as GPS receivers, etc.)

1. A method in a computing system for providing pooled terminalemulation sessions for access to menu-driven legacy application tasks ona host computing system, comprising: receiving a first request from aclient computing system to run an identified legacy application task;causing a first host session to be allocated on the host computingsystem; assigning a task identifier to the allocated first host sessionand associating the task identifier with the legacy application taskidentified in the first request; causing the legacy application taskidentified in the first request to be executed in the allocated firsthost session on the host computing device; and forwarding to the clientcomputing system the task identifier assigned to the legacy applicationtask identified in the first request.
 2. The method of claim 1, furthercomprising: receiving a second request from a client computing system torun an identified legacy application task; determining whether a hostsession has already been allocated on the host computing system forexecuting the legacy application task identified in the second request;and returning to the client computing system an output data stream fromthe legacy application task executing in the allocated first hostsession to fulfill the second request.
 3. The method of claim 2 whereinthe received second request includes the task identifier assigned to thelegacy application task identified in the first request.
 4. The methodof claim 2, further comprising: receiving a third request from theclient computing system to run an identified legacy application task;determining whether a host session has already been allocated on thehost computing system for executing the legacy application taskidentified in the third request; causing a second host session to beallocated on the host computing system; assigning a second taskidentifier to the allocated second host session and associating thesecond task identifier with the legacy application task identified inthe third request; causing the legacy application task identified in thethird request to be executed in the allocated second host session on thehost computing device; and forwarding to the client computing system thesecond task identifier assigned to the legacy application taskidentified in the third request.
 5. The method of claim 4, furthercomprising: receiving a fourth request from a client computing system torun an identified legacy application task; determining whether a hostsession has already been allocated on the host computing system forexecuting the legacy application task identified in the fourth request;and returning to the client computing system an output data stream fromthe legacy application task executing in the allocated second hostsession to fulfill the fourth request.
 6. The method of claim 5 whereinthe legacy application task executing in the allocated first session isconcurrently executing when the method returns the output data streamfrom the allocated second session to the client computing system.
 7. Themethod of claim 1, further comprising: determining whether the firstrequest from the client computing system is authorized.
 8. The method ofclaim 1 wherein the providing the pooled sessions is provided to anexisting menu-driven legacy application.
 9. The method of claim 1performed without executing terminal emulation sessions on the clientcomputing system.
 10. The method of claim 1 used to run a clientapplication and wherein the client computing system receives logininformation from a user one time per executing the client applicationand the method provides a plurality of terminal emulation sessions onbehalf of the user without requiring the user to logon more than the onetime.
 11. The method of claim 1 wherein the legacy application tasks areused to implement a role-based modernization system on the clientcomputing system.
 12. The method of claim 1 wherein the first request isfrom a role-based modernization system executing on the client computingsystem.
 13. An emulation services manager comprising: a memory; and aplurality of pooled terminal emulation sessions stored in the memory,each session configured to concurrently run a separate legacyapplication task, the emulation services manager further configured toreturn the output data stream of one of the plurality of pooled sessionswhen a task identifier identifying the legacy application task runningin the one of the plurality of pooled sessions is requested.
 14. Theemulation services manager of claim 13 further configured to allocate aone of the plurality of pooled sessions to a requested legacyapplication task when it is determined that the requested legacyapplication task is not already running in one of the plurality ofpooled sessions.
 15. The emulation services manager of claim 14 furtherconfigured to return the output data stream of the allocated pooledsession in response to the requested legacy application task.
 16. Theemulation services manager of claim 13 connected via a secure binaryconnection to a client computing system.
 17. A computer-readable storagemedium containing content for controlling a computing system tomultiplex between a plurality of pooled terminal emulation sessionsstored in a memory, each session configured to concurrently run acorresponding separate legacy application, by performing a methodcomprising: returning an output data stream of one of the plurality ofpooled sessions when a task identifier identifying the correspondinglegacy application task running in the one of the sessions is requested;allocating a one of the plurality of pooled sessions to a requestedlegacy application task when it is determined that the requested legacyapplication task is not already running in one of the pooled sessions;and returning the output data stream of the allocated pooled session inresponse to the requested legacy application task.
 18. Thecomputer-readable storage medium of claim 17, the requests originatingfrom a client computing system running a plurality of role-basedmodernized legacy application tasks.
 19. The computer-readable storagemedium of claim 17 wherein the legacy application is an existingmenu-driven legacy application.
 20. The computer-readable storage mediumof claim 17 wherein the method is performed without executing terminalemulation sessions on a client computing system from which the requestsare received.
 21. The computer-readable medium of claim 17 wherein thecomputer-readable storage medium is a memory of a computing system andwherein the contents are instructions that control a computer processorof the computing system to perform the method.